Find the relation among parts.
More...
|
| | AprioriNew (String[][] cirs) |
| | Construct function. More...
|
| |
|
void | scan () |
| | scan data from files
- Exceptions
-
|
| |
| void | addItem (HashMap< String, Double > map, String key) |
| | Add Item to map. Check whether the map contains the key or not. More...
|
| |
|
void | getSingleItemMap () |
| | Get the single items from the source sequence and put them into the map.
|
| |
|
void | getDoubleItemMap () |
| | Get the double items from the source sequence and add them into the map.
|
| |
|
void | getTripleItemMap () |
| | Get the triple parts items from the source sequence and add them into the map.
|
| |
|
void | getQuadraItemMap () |
| | Get the quedra parts items from the source sequence and add them into the map.
|
| |
|
void | getPentaItemMap () |
| | Get the penta parts items from the source sequence and add them into the map.
|
| |
| void | setProb (int sum, Set< Entry< String, Double >> entries, HashMap< String, Double > map, int index) |
| | Calculate the strength of the relations. More...
|
| |
|
void | getProbOfItems () |
| | Get the strength of these items.
|
| |
|
int | getSum (int index) |
| | Get the sum of each type of relation.
|
| |
| void | show (HashMap< String, Double > map) |
| | Print data. More...
|
| |
|
void | export () |
| | Put the rules into the files.
|
| |
|
void | func () |
| | Pack all the operations together.
|
| |
Find the relation among parts.
- Author
- Xia Yu
- Version
- 1.0
| com.sanmixy.core.AprioriNew.AprioriNew |
( |
String |
cirs[][]) | |
|
Construct function.
- Parameters
-
- Returns
- A AprioriNew object.
| void com.sanmixy.core.AprioriNew.addItem |
( |
HashMap< String, Double > |
map, |
|
|
String |
key |
|
) |
| |
Add Item to map. Check whether the map contains the key or not.
- Parameters
-
| void com.sanmixy.core.AprioriNew.setProb |
( |
int |
sum, |
|
|
Set< Entry< String, Double >> |
entries, |
|
|
HashMap< String, Double > |
map, |
|
|
int |
index |
|
) |
| |
Calculate the strength of the relations.
- Parameters
-
| void com.sanmixy.core.AprioriNew.show |
( |
HashMap< String, Double > |
map) | |
|
The documentation for this class was generated from the following file:
- BioFunctionalDesigner/src/com/sanmixy/core/AprioriNew.java